package com.master.wifimaster;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown=true)
public class AccessPoint {
	private String _ssid;
	private String _mac;
	private int _errorCode = 0;
	
	public void setSSID(String ssid) {
		this._ssid = ssid;
	}
	
	public String getSSID() {
		return this._ssid;
	}
	
	public void setMac(String mac) {
		this._mac = mac;
	}
	
	public String getMac() {
		return this._mac;
	}
	
	public void setCode(int code) {
		this._errorCode = code;
	}
	
	public int getCode() {
		return this._errorCode;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("SSID=").append(this._ssid).append(",MAC=").append(this._mac)
				.append(",Code=").append(this._errorCode);
		return sb.toString();
	}
}
